package com.otod.pm.prj.mapper;

import org.apache.ibatis.annotations.Param;

import com.otod.base.mapper.BaseMapper;
import com.otod.base.support.spring.mybatis.annotation.MyBatisRepository;
import com.otod.pm.prj.vo.DetailVo;

@MyBatisRepository
public interface  DetailMapper extends BaseMapper<DetailVo>{
	/**
	 * 查询最新的产品基本信息
	 * @param prjType
	 * @return
	 */
	public DetailVo selectDetailInfo(String prjId);
	/**
	 * 通过prjId 和cfg_version 查询相关的数据
	 * @param prjId
	 * @return
	 */
	public DetailVo queryDetail(@Param("prjId")String prjId,@Param("cfgVersion")int cfgVersion);
	
	
}
